package com.wty.cmims.pojo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AliPay {
    //订单编号
    @NotEmpty(message = "订单编号不能为空")
    private String traceNo;
    //商品金额
    @NotNull(message = "药品金额不能为空")
    private Double orderPrice;
    //商品名称
    @NotEmpty(message = "商品名称不能为空")
    private String subject;
    //订单追踪号，商户自己生成
    private String alipayTraceNo;
    // 支付宝网关
    private String gateway = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";
    // PC端/移动端
    private String method;
}